package com.qumap.edititem.update;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.qumap.item.content.ObjectOnMapShort;

/**
 * Created by IntelliJ IDEA.
 * User: Admin
 * Date: 28.05.11
 * Time: 9:59
 * To change this template use File | Settings | File Templates.
 */
public interface IItemUpdateProcessorAsync<T extends ObjectOnMapShort> {

    void save(T item, AsyncCallback<Integer> callback);
    void delete(int item_id, AsyncCallback<Void> callback);
    void update(T item, AsyncCallback<Void> callback);

}
